// 具体的产品 - 现代风家具

import { Chair, Sofa, CoffeeTable } from "./AbstractProduct";

export class ModernChair extends Chair {
  sitOn(): string {
    return "现代风椅子 - 坐在上面";
  }
}

export class ModernSofa extends Sofa {
  lieOn(): string {
    return "现代风沙发 - 躺在上面";
  }
}

export class ModernCoffeeTable extends CoffeeTable {
  putOn(thing: string): string {
    return `现代风咖啡桌 - 放上${thing}`;
  }
}
